var fabu = document.getElementById('centen-fabu-top');
var wenben = document.getElementById("wenben");
var tupian = document.getElementById("tupian");
var shipan = document.getElementById("shipian");

function FaBu() {
    if (fabu.style.display == "" || fabu.style.display == "none") {
        fabu.style.display = "block"
    } else {
        fabu.style.display = "none"
    }
}

function WenZhang() {
    if (wenben.style.display == "" || wenben.style.display == "block") {
        wenben.style.display = "none"
        tupian.style.display = "none"
        ship.style.display = "none"
    } else if (wenben.style.display == "none") {
        wenben.style.display = "block"
        tupian.style.display = "none"
        ship.style.display = "none"
    } else {
        wenben.style.display = "none"
    }
}

function TuPian() {
    if (tupian.style.display == "" || tupian.style.display == "none") {
        tupian.style.display = "block"
        wenben.style.display = "none"
        ship.style.display = "none"
    } else if (tupian.style.display == "" || tupian.style.display == "block") {
        tupian.style.display = "none"
        wenben.style.display = "none"
        ship.style.display = "none"
    } else {
        tupian.style.display = "none"
    }
}

function ShiPian() {
    if (shipan.style.display == "" || shipan.style.display == "none") {
        shipan.style.display = "block"
        tupian.style.display = "none"
        wenben.style.display = "none"
    } else if (shipan.style.display == "" || shipan.style.display == "block") {
        shipan.style.display = "none"
        tupian.style.display = "none"
        wenben.style.display = "none"
    }else {
        shipan.style.display = "none"
    }
}